<me:UIVVT x:Class="WPFExcelReport.TVVTLIEF"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:VV="clr-namespace:WPFExcelReport;assembly=TVVLIEF"  
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"   
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
                    xmlns:VKD="clr-namespace:WPFExcelReport;assembly=TVKADR" 
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIVVT.Resources>
        <CollectionViewSource  x:Key="vwMaster" />
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIVVT.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions> 
        <WrapPanel>
            <VKD:VKKAD03 ORDERNUM="{Binding VKP,ElementName=TV}"  
                         IsEdit="{Binding IsEdit,ElementName=TV}"  
                         IsAuto="True"
                         VerticalAlignment="Top" 
                         />
            <Grid Margin="10,0,0,0" Grid.Column="1">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=需求}}" ></TextBlock>
                <CheckBox Grid.Column="1" IsChecked="{Binding IsWBREQ,ElementName=TV}"/>
                
            </Grid>
         
            <Grid Visibility="Collapsed">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="0" FontSize="12"  Text="{Binding Source={Localization:Translate Word=当前发货单:}}"/>
                <TextBlock Grid.Column="1" FontSize="12"    Text="{Binding LIEFSCH,ElementName=TV}" Width="Auto"/>
                <TextBlock Grid.Column="2" FontSize="12"  Text="{Binding Source={Localization:Translate Word=销售单}}"/>
                <TextBlock Grid.Column="3" FontSize="12"    Text="{Binding KEY,ElementName=TV}" Width="Auto"/>
            </Grid>
        </WrapPanel>
        <me:TVV03 Grid.Row="1"
                  IsAuto="{Binding IsAuto,ElementName=TV}"
                  KEY="{Binding VVT,ElementName=TV}"
                  EXAUF="{Binding VKP,ElementName=TV}"
            />
    </Grid>
</me:UIVVT> 
 
